// Package example mock 示例
package example

// Repository 需要被 mock 的接口
//go:generate mockgen -destination mocks/mock_repo.go -package mocks git.woa.com/goom/best_practices/example Repository
type Repository interface {
	Create(key string, value []byte) error
	Query(key string) ([]byte, error)
}
